var nav = $('#nav ul');
var list = nav.children('li');
list.each(function(){
	var a = $(this).find('a');
	var pathname = window.location.pathname;
	if(a.attr('href') == pathname){
		$(this).addClass('active');
	}
});
/*
$(".betform").on("submit", function(e){
	e.preventDefault();
	console.log($(this).children("#paysname").val());
	console.log($(this).children("#somme").val());
	console.log($(this).parent().parent(".row").data("id"));
});*/